Skip to content

Conversation

@RunDevelopment
Copy link
Member

This makes the two plugins compatible with each other.

CC will now expose an apply method which applies all transformations to one class name. MB will detect whether CC is loaded and use its transformation function if loaded.

Since MB will dynamically detect CC, the dependency doesn't have to be declared in components.json. The two plugins can be loaded in any order.


This resolves #2933.

@github-actions
Copy link

github-actions bot commented Jun 13, 2021

JS File Size Changes (gzipped)

A total of 2 files have changed, with a combined diff of +68 B (+6.0%).

file master pull size diff % diff
plugins/custom-class/prism-custom-class.min.js 276 B 287 B +11 B +4.0%
plugins/match-braces/prism-match-braces.min.js 848 B 905 B +57 B +6.7%

Generated by 🚫 dangerJS against 435ecfe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin match-braces does not work with a custom prefix from custom-class plugin

2 participants